<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-show</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
</head>
<body>
    <div id="app">
        
        马云正在学习
        <h3 v-show="value">Vue.js</h3>
        <h3 v-show="!value">Angular.js</h3>
       
    </div>

    <script>
        new Vue({
            el:"#app",
            data:{
                value:true
            }
        })
    </script>
</body>
</html>
